package com.suep.game_chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suep.game_chat.dto.UserDTO;
import com.suep.game_chat.entity.User;

public interface UserService extends IService<User> {
    
    /**
     * 用户注册
     */
    User register(UserDTO user);

    /**
     * 用户登录
     */
    User login(String username, String password);

    /**
     * 修改密码
     */
    void updatePassword(String userId, String oldPassword, String newPassword);
}
